package ch4;

import java.util.Scanner;

public class ExamCheck {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		String result = "";
		do {
			System.out.println("做测试题");
			System.out.println("请东方不败来检查：");
			result = in.next();
		} while (!result.equals("合格"));

		System.out.println("恭喜");
	}

}
